﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace ThiefRun.States
{
    class WinState : State
    {
         #region Constants
        // Constants
        const int TITLE_TIME_SEPARATION = 100;
        #endregion Constants

        #region Properties
        // Properties
        SpriteFont winFont;
        double menuTime = 15;
        #endregion Properties

        #region Computed Properties
        // Computed Properties
        #endregion

        #region Methods
        // Methods

        /// <summary>
        /// Initialize the State Graph.
        /// </summary>
        public WinState(ThiefRunGame game) : base(game)
        {
            winFont = game.Content.Load<SpriteFont>("Fonts/Win");
        }

        /// <summary>
        /// Draw the current stage.
        /// </summary>
        /// <param name="gameTime"></param>
        /// <param name="spriteBatch"></param>
        public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            Vector2 pos = new Vector2(300, 100);
            string time = ((int)menuTime).ToString();

            spriteBatch.Begin();
                spriteBatch.DrawString(winFont, "You Won.", pos, Color.Red);
            spriteBatch.End();
        }
        #endregion Methods
    }
}
